package com.hcryan.djm.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.hcryan.djm.mapper.ProvinceMapper;
import com.hcryan.djm.pojo.entity.Province;
import com.hcryan.djm.pojo.model.Location;
import com.hcryan.djm.service.ProvinceService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author ryanwdj
 * @description 针对表【province(省份数据)】的数据库操作Service实现
 * @createDate 2025-05-05 16:29:51
 */
@Service
public class ProvinceServiceImpl extends ServiceImpl<ProvinceMapper, Province> implements ProvinceService {

    @Autowired
    private ProvinceMapper provinceMapper;

    @Override
    public List<Location> listProvince() {
        return provinceMapper.listProvince();
    }
}




